/*
 * @Autor: dingxiaolin
 * @Date: 2022-10-17 11:44:02
 * @LastEditors: dingxiaolin
 * @LastEditTime: 2022-10-17 16:39:31
 */
let baseUrl = ''
let jhxUrl = ''
let wxUrl = ''
let clientId = 'cloud_data' // 客户端id
let clientSecret = 'cloud_data_secret' // 客户端密钥
if (process.env.NODE_ENV === 'development') {
    // 开发环境
    baseUrl = 'http://218.2.230.106:9060/api'
    // jhxUrl = 'http://172.16.0.12:8800/api' // 内网地址
    jhxUrl = 'http://101.35.194.154:8800/api' // 内网穿透
    // jhxUrl = 'http://40.72.188.162:8800/api'
    wxUrl = '' // 不要注释掉
} else if (process.env.NODE_ENV === 'test') {
    // 测试环境
    baseUrl = 'http://218.2.230.106:9060/api'
    jhxUrl = 'http://172.16.0.12:8800/api'
    wxUrl = ''
} else if (process.env.NODE_ENV === 'pre') {
    // 预发布环境
    baseUrl = 'http://218.2.230.106:9060/api'
    jhxUrl = 'http://172.16.0.12:8800/api'
    wxUrl = ''
} else if (process.env.NODE_ENV === 'production') {
    // 正式环境
    baseUrl = 'http://218.2.230.106:9060/api'
    jhxUrl = 'http://172.16.0.12:8800/api'
    wxUrl = ''
}
export default {
    baseUrl,
    wxUrl,
    jhxUrl,
    clientId,
    clientSecret
}